package po.choosepo;

import java.io.Serializable;
import java.rmi.RemoteException;

import po.userpo.*;
import po.coursepo.*;

public class Choose implements Serializable{
	  StuID stuId;
	  CourseID courseId;
	  int credit;
	  
	  public Choose(StuID stui, CourseID coursei , int credit) throws RemoteException{
	  	stuId = stui;
	  	courseId = coursei;
	  	this.credit = credit;
	  }
	  
	  public StuID getStuId() throws RemoteException{
		  StuID a = stuId;
	  	return a;
	  }
	  
	  public CourseID getCourseId() throws RemoteException{
		return courseId;
	  }
	  
	  public int getCredit() throws RemoteException{
		  return credit;
	  }
	  
	}